#ifndef PLAYER_H
#define PLAYER_H
#include <allegro.h>
#include "object.h"

class player {
	public:
		int x;
		int y;
   
      int h;
      int w;

		int speed_x;

		BITMAP *img;

		player(int x, int y, int speed_x, char nome[]);
	
		void draw(BITMAP* buffer);
	
		bool can_catch(object o);
   
      void move(int w);
};

#endif
